﻿//
// 
//通用的复制代码
var Clipboard=0; 
function GetClipboard(){  
	return Clipboard;
}
function copyit(textit) {
	Clipboard=textit;
	if (window.clipboardData) {
		window.clipboardData.setData("Text",textit);
	} else {
		var flashcopier = 'flashcopier';
		if(!HJ$(flashcopier)) {
			var divholder = document.createElement('div');
			divholder.id = flashcopier;
			document.body.appendChild(divholder);
		}
		HJ$(flashcopier).innerHTML = '';
		var divinfo = '<embed src="/common/_clipboard.swf" width="0" height="0" type="application/x-shockwave-flash" id="flashforcopy" name="flashforcopy"></embed>';
		HJ$(flashcopier).innerHTML = divinfo; 
	}
}
//通用的复制代码 结束 